RankMath\Redirections\Watcher S

Total Complexity 45
Dependencies 5
Dependents 1
Total lines 375
Lines of code 179
Logical lines of code 90
Comment lines 141
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
handle_post_update()
S
52 6 22
create_redirection()
S
49 5 32
handle_term_update()
S
54 4 19
has_permalink_changed()
S
63 4 11
__construct()
S
57 3 16
is_watched_transition()
S
73 4 4
add_notification()
S
61 3 13
has_existing_redirection()
S
68 2 7
display_suggestion()
S
68 2 7
invalidate_post()
S
71 2 6
can_display_suggestion()
S
71 2 6
get_site_path()
S
68 2 7
pre_term_update()
S
78 1 3
get_edit_redirection_url()
S
65 1 10
pre_post_update()
S
79 1 3
invalidate_term()
S
73 1 5
invalidate_author()
S
80 1 3
add_invalid_notification()
S
70 1 5